﻿using System;
using System.ComponentModel;

namespace HML
{
    /// <summary>
    /// TabItem操作时事件参数
    /// </summary>
    public class TabItemOperatingEventArgs : CancelEventArgs
    {
        private readonly TabPagePlus tabPage;
        /// <summary>
        /// TabPage
        /// </summary>
        public TabPagePlus TabPage
        {
            get { return this.tabPage; }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="tabPage">TabPage</param>
        /// <param name="cancel">是否取消操作</param>
        public TabItemOperatingEventArgs(TabPagePlus tabPage,bool cancel):base(cancel)
        {
            this.tabPage = tabPage;
        }

    }

}
